package com.bsoft.gol.editor.editor.base;

import java.io.Serializable;
import java.util.Arrays;

public class PatientListRequest implements Serializable {
    /**
     * 就诊日期
     */
    private String workDate;

    /**
     * 开始日期
     */
    private String workDateStart;

    /**
     * 结束日期
     */
    private String workDateEnd;
    /**
     * 医生代码
     */
    private String doctorCode;

    /**
     * 就诊状态
     */
    private  String[] consultStatus;

    /**
     * 咨询类型
     */
    private String[] busType;

    /**
     * 查询关键字
     */
    private String keyWord;

    /**
     * 基层医生uid
     */
    private String userId;

    /**
     * 家庭成员
     */
    private String consultUserId;
    /**
     * 时间段
     */
    private Byte timeFlag;

    public String getWorkDate() {
        return workDate;
    }

    public void setWorkDate(String workDate) {
        this.workDate = workDate;
    }

    public String getWorkDateStart() {
        return workDateStart;
    }

    public void setWorkDateStart(String workDateStart) {
        this.workDateStart = workDateStart;
    }

    public String getWorkDateEnd() {
        return workDateEnd;
    }

    public void setWorkDateEnd(String workDateEnd) {
        this.workDateEnd = workDateEnd;
    }

    public String getDoctorCode() {
        return doctorCode;
    }

    public void setDoctorCode(String doctorCode) {
        this.doctorCode = doctorCode;
    }

    public String[] getConsultStatus() {
        return consultStatus;
    }

    public void setConsultStatus(String[] consultStatus) {
        this.consultStatus = consultStatus;
    }

    public String[] getBusType() {
        return busType;
    }

    public void setBusType(String[] busType) {
        this.busType = busType;
    }

    public String getKeyWord() {
        return keyWord;
    }

    public void setKeyWord(String keyWord) {
        this.keyWord = keyWord;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getConsultUserId() {
        return consultUserId;
    }

    public void setConsultUserId(String consultUserId) {
        this.consultUserId = consultUserId;
    }

    public Byte getTimeFlag() {
        return timeFlag;
    }

    public void setTimeFlag(Byte timeFlag) {
        this.timeFlag = timeFlag;
    }

    @Override
    public String toString() {
        return "{\"PatientListRequest\":{"
                + "\"workDate\":\""
                + workDate + '\"'
                + ",\"workDateStart\":\""
                + workDateStart + '\"'
                + ",\"workDateEnd\":\""
                + workDateEnd + '\"'
                + ",\"doctorCode\":\""
                + doctorCode + '\"'
                + ",\"consultStatus\":"
                + Arrays.toString(consultStatus)
                + ",\"busType\":"
                + Arrays.toString(busType)
                + ",\"keyWord\":\""
                + keyWord + '\"'
                + ",\"userId\":\""
                + userId + '\"'
                + ",\"consultUserId\":\""
                + consultUserId + '\"'
                + ",\"timeFlag\":\""
                + timeFlag + '\"'
                + "}}";

    }
}
